package ycl.system.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import ycl.common.base.entity.BaseEntity;

/**
 * <p>
 * 角色
 * </p>
 *
 * @author ycl
 * @since 2022-03-03 11:43:56
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("sys_role")
@ApiModel(value = "SysRole对象", description = "角色")
public class SysRole extends BaseEntity {

	private static final long serialVersionUID = 1L;

	@ApiModelProperty("角色名")
	@TableField("name")
	private String name;

	@ApiModelProperty("状态，1正常，0禁用")
	@TableField("status")
	private Boolean status;


}
